package com.idcf.boathouse.order.controller;

import com.idcf.boathouse.order.core.ResponseData;
import com.idcf.boathouse.order.entity.BoatHouseSet;
import com.idcf.boathouse.order.service.BoatHouseSetService;
import com.idcf.boathouse.order.vo.SetVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @description 菜品接口类
 * @author: steve chenwang94@gmail.com
 * @create: 2020-12-29 20:37:23
 **/
@RestController
@RequestMapping(value = "/product")
public class ProductController {
    @Autowired
    BoatHouseSetService boatHouseSetService;
    @RequestMapping(value = "list")
    public ResponseData queryProduct() {
         return ResponseData.success(boatHouseSetService.queryAll());
    }
}
